package cn.project.lemontree.service;

import cn.project.lemontree.bean.Task;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface TaskService extends IService<Task> {

    List<Task> listpage(int page, int size, String teacherName,String theme);
    int count(String teacherName,String theme);
    boolean saveTask(Task task);
    boolean updateTask(Task task);
    List<Task> regain(String ddesc,String theme);
    List<Task> getMyTask(int page,int size,Integer teacherId,String theme);
    int countMyTask(Integer teacherId,String theme);
}
